package com.singzi.testCase;

import org.junit.Test;

import java.io.*;

public class FileWrite {
    public static void main(String[] args) throws IOException {
        String s = "1111";
        BufferedReader reader = new BufferedReader(new FileReader("r.txt"));
        String txt = reader.readLine();
        BufferedWriter out = new BufferedWriter(new FileWriter("s.txt"));
        for (int i = 0; i < 100; i++) {
            out.write(txt);
            out.write("\n");

        }
        out.close();
    }

}
